package io.renren.modules.com.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.modules.com.dao.ComContractImageDao;
import io.renren.modules.com.entity.ComContractImageEntity;
import io.renren.modules.com.service.ComContractImageService;



@Service("comContractImageService")
public class ComContractImageServiceImpl implements ComContractImageService {
	@Autowired
	private ComContractImageDao comContractImageDao;
	
	@Override
	public ComContractImageEntity queryObject(Long serialNo){
		return comContractImageDao.queryObject(serialNo);
	}
	
	@Override
	public List<ComContractImageEntity> queryList(Map<String, Object> map){
		return comContractImageDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return comContractImageDao.queryTotal(map);
	}
	
	@Override
	public void save(ComContractImageEntity comContractImage){
		comContractImageDao.save(comContractImage);
	}
	
	@Override
	public void update(ComContractImageEntity comContractImage){
		comContractImageDao.update(comContractImage);
	}
	
	@Override
	public void delete(Long serialNo){
		comContractImageDao.delete(serialNo);
	}
	
	@Override
	public void deleteBatch(Long[] serialNos){
		comContractImageDao.deleteBatch(serialNos);
	}
	
}
